package com.hzit.bj1804.dianordermanagementwutongservice.dao;

import com.hzit.bj1804.dian.entity.Memberpay;
import com.hzit.bj1804.dian.vo.OrderdetailsOrderinfoProductinfo;
import com.hzit.bj1804.dian.vo.OrderinfoMemberpay;


import java.math.BigDecimal;
import java.util.List;

public interface MemberpayDAO {
    int deleteByPrimaryKey(BigDecimal memberid);

    int insert(Memberpay record);

    int insertSelective(Memberpay record);

    Memberpay selectByPrimaryKey(BigDecimal memberid);

    int updateByPrimaryKeySelective(Memberpay record);

    int updateByPrimaryKey(Memberpay record);
    //根据会员名称搜索订单
    List<OrderinfoMemberpay> selectByName(String cardholdername);
    //显示所有订单表中的订单数据
    List<OrderdetailsOrderinfoProductinfo> selectByAlls();
    //根据id查询订单中的订单数据
    List<OrderdetailsOrderinfoProductinfo> selectByIdAlls(int orderid);
}